package com.ms.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 用户数据传输对象
 */
@Data
@Schema(name = "用户数据传输对象", description = "用户数据传输对象")
public class UserDTO {
    @Schema(description = "用户id", example = "1", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer id;

    @Schema(description = "用户昵称", example = "123", requiredMode = Schema.RequiredMode.REQUIRED)
    private String nickname;

    @Schema(description = "用户邮箱", example = "123@qq.com", requiredMode = Schema.RequiredMode.REQUIRED)
    private String email;

    @Schema(description = "用户性别", example = "UNKNOWN", requiredMode = Schema.RequiredMode.REQUIRED)
    private String gender;

    @Schema(description = "用户简介", example = "123", requiredMode = Schema.RequiredMode.REQUIRED)
    private String bio;

    @Schema(description = "用户生日", example = "2023-01-01", requiredMode = Schema.RequiredMode.REQUIRED)
    private String birthday;
}
